const mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');//引入分页模块
var UserSchema = new mongoose.Schema({
    name:String,
    password:String,
    email:String
});
UserSchema.plugin(mongoosePaginate);

module.exports = mongoose.model('User',  UserSchema);;
